class ApiConfig {
  static const String baseUrl = 'http://oramemo.szcclg.com/prod-api';
  static const Duration connectTimeout = Duration(seconds: 30);
  static const Duration receiveTimeout = Duration(seconds: 30);

  // Auth endpoints
  static const String login = '/login';
  static const String logout = '/logout';
  static const String sendEmail = '/sendEmail';

  // Device endpoints
  static const String bindDevice = '/ora/device/bind';
  static const String unbindDevice = '/ora/device/unbind';
  static const String myDevices = '/ora/device/mine';

  // Records endpoints
  static const String callRecords = '/ora/device_conversation/list';
  static const String voiceRecords = '/ora/voice_record/query';
  static const String voiceRecordDetail = '/ora/voice_record/';
  static const String uploadVoice = '/ora/voice_record/upload';

  // User profile endpoints
  static const String uploadAvatar = '/system/user/profile/avatar';
  static const String updateProfile = '/system/user/profile';
  static const String getInfo = '/getInfo';

  // File upload endpoints
  static const String uploadFile = '/common/upload';

  // Transaction endpoints
  static const String memberLevels = '/ora/member_level/list/all';
  static const String transactions = '/ora/transaction/list/all';
  static const String createOrder = '/ora/order/build';

  // Whitelist endpoints
  static const String whiteList = '/ora/user_white/query';
  static const String addWhiteList = '/ora/user_white/add';
  static const String editWhiteList = '/ora/user_white/edit';
  static const String deleteWhiteList = '/ora/user_white';
}